-- GENERATED SPELL FOR [Dunemaul Enforcer] --


function spell0_5472(pUnit, Event) --@Demoralizing Shout,Self--
pUnit:FullCastSpellOnTarget(13730,pUnit)
pUnit:RegisterEvent('Sorts_5472', 30346, 1)
end

function Sorts_5472(pUnit, Event)
local choix_sorts_5472 = math.random(0, 0)
if choix_sorts_5472 == 0 then
pUnit:RegisterEvent('spell0_5472', 1, 1)
end
end

function mob5472_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5472', math.random(1500, 3000), 1)
end

function mob5472_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5472_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5472_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5472, 1, 'mob5472_Action')
RegisterUnitEvent(5472, 2, 'mob5472_Leave')
RegisterUnitEvent(5472, 3, 'mob5472_Kill')
RegisterUnitEvent(5472, 4, 'mob5472_Die')
